//
//  Person.m
//  CopyDemo01
//
//  Created by FelixYin on 2020/4/19.
//  Copyright © 2020 FelixYin. All rights reserved.
//

#import "Person.h"

@implementation Person

- (void)setName:(NSString *)name{
    if (_name != name) {
        [_name release];
        _name = [name copy];
    }
}

@end
